<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>客户列表查询</title>
<link href="../inc/cskt.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../easyui/themes/default/easyui.css" />
<link rel="stylesheet" href="../easyui/themes/icon.css"/>

<script src="../easyui/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../easyui/jquery.easyui.min.js" ></script>
<script src="../easyui/locale/easyui-lang-zh_CN.js"></script>

</head>

<body bgcolor="#ebebeb">



<table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0" >
	  <tr>
	    <td width="100%" valign="top">
			<table width="100%" border="0" cellpadding="0" cellspacing="0" background="./images/m_mpbg.gif">
		          <tr>
		            <td class="place">客户列表</td>
		          </tr>
		    </table> 
			<table width="100%" border="0" cellpadding="6" cellspacing="1" bgcolor="#C0CCDD" id="content"> 
			     <tr  valign="top" class="top">
			       <td width="13%" height="25" align="left" valign="middle"  class="name"><div align="center"><strong>客户id</strong></div></td>
			       <td width="13%" align="left" valign="middle"  class="name"><div align="center">客户姓名</div></td>
			       <td width="15%" align="left" valign="middle"  class="name"><div align="center">操作</div></td>
			     </tr>
			     <tr onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='ecf5ff'">
			       <td height="25" align="left" valign="middle"  class="name" ><span class="red"><div align="center">1</div></span></td>
			       <td align="left" valign="middle"  class="name"><div align="center">王敏</div></td>
			       <td height="25" align="left" valign="middle"  class="func">
			       <div align="center">
					<input type="button" name="Submit3" value="地址详情"  onClick="javascript:window.open('user_addresslist.jsp?aid=${d.artid}','newwin','width=' + 800 + ',height=' + 500 + ',fullscreen =no,scrollbars=1,toolbar=0, status=no,resizable=1,location=no,menubar=no,menubar=no,left=100,top=100')"/>
		       		<input type="button" name="Submit3" value="订单详情"  onClick="javascript:window.open('user_dingdanlist.jsp?aid=${d.artid}','newwin','width=' + 800 + ',height=' + 500 + ',fullscreen =no,scrollbars=1,toolbar=0, status=no,resizable=1,location=no,menubar=no,menubar=no,left=100,top=100')"/>
		       		<input type="button" name="Submit3" value="注销"  onClick="javascript:window.open('artist_delete.do?aid=${d.artid}','newwin','width=' + 800 + ',height=' + 500 + ',fullscreen =no,scrollbars=1,toolbar=0, status=no,resizable=1,location=no,menubar=no,menubar=no,left=100,top=100')"/> 
			       </div>
			       </td>
				</tr>
				<s:iterator var="d" value="artlist"> <!-- 在session里面的遍历 -->
					<tr onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='ecf5ff'">
				       <td height="25" align="left" valign="middle"  class="name" ><span class="red"><div align="center">${d.artid}</div></span></td>
				       <td align="left" valign="middle"  class="name"><div align="center"><img alt="艺人样照" src="${d.aimg }" style="width:90px ;height:90px"></div></td>
				       <td align="left" valign="middle"  class="name"><div align="center">${d.artname}</div></td>
				       <td align="left" valign="middle"  class="name"><div align="center">${d.artsex}</div></td>
				       <td align="left" valign="middle"  class="name"><div align="center">${d.birthday}</div></td>
				       <td align="left" valign="middle"  class="name"><div align="center">${d.tall}</div></td>
				       <td align="left" valign="middle"  class="name"><div align="center">${d.style} </div></td>
				       <td height="25" align="left" valign="middle"  class="func">
				       <div align="center">
				       		<input type="button" name="Submit3" value="详情"  onClick="javascript:window.open('artist_detail.do?aid=${d.artid}','newwin','width=' + 800 + ',height=' + 500 + ',fullscreen =no,scrollbars=1,toolbar=0, status=no,resizable=1,location=no,menubar=no,menubar=no,left=100,top=100')"/> 
				       </div>
				       </td>
					</tr>
				</s:iterator>
			</table>  
		</td>
	  </tr>
	  <tr>
		  <td  class="page">
			 <table width="100%" border="0" align="left" >
			  <tr>
			    <td width="10%" height="30"><div align="center"></div></td>
			    <td >&nbsp;    </td>
			    <td width="79%"><div align="right">
			    <s:property value="#session.infonum"/>个 | <s:property value="#session.fristpage"/>/<s:property value="#session.pages"/>页 | &nbsp;3条信息/页&nbsp;&nbsp;
			          <input type="button"  value="首页"  class="page" onClick="window.location.href='artist_getlist.do?fristpage=0'" />
			          <s:if test="#session.fristpage!= 1"> 
			          	<input type="button" value="上一页"  class="page" onClick="window.location.href='emp_getlistbySelectManager.do?fristpage=0'"/>
			          </s:if>
			<!--           <s:property value="#session.fristpage"/> -->
			          <input type="button"  value="下一页"  class="page" onClick="window.location.href='artist_getartlistfront.do?fristpage=0'"/>
			    </div></td>
			  </tr>
			</table>
		</td>
	</tr>
</table>







	 
</body>
</html>
